#pragma once
#include "../Base/TypeDefine.hpp"
namespace NAMESPACENAME
{
	namespace DirectX
	{
		class DXGIFactory;
		class DXGISwapChain
		{
			IDXGISwapChain4* swapChain;
			friend DXGIFactory;
			inline DXGISwapChain(IDXGISwapChain4* swapChain) :
				swapChain(swapChain)
			{
			}
		public:
			inline ~DXGISwapChain()
			{
				swapChain->Release();
			}
		};
	}
}